- 
		Home
	
 
	- 
WooCommerce Square
 
- 
4.1.0
 
- 
Code
 
- 
Classes
 
-  Payment_Gateway_Payment_Token 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											40 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											8 | 
										
																	
							 
													
								
																			
											| Total lines | 
											354 | 
										
																			
											| Lines of code | 
											86 | 
										
																			
											| Logical lines of code | 
											34 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											183 | 
										
																			
											| Methods | 
											24 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 24
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| __construct() | 
									S  | 
																	61 | 
													6 | 
													12 | 
							
					
				| get_type_full() | 
									S  | 
																	66 | 
													4 | 
													8 | 
							
					
				| is_default() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_card_type() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_account_type() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_last_four() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_exp_month() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_exp_year() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_nickname() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_billing_hash() | 
									S  | 
																	78 | 
													2 | 
													3 | 
							
					
				| get_id() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_default() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_credit_card() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_type() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_account_type() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_last_four() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_exp_month() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_exp_year() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_exp_date() | 
									S  | 
																	77 | 
													1 | 
													3 | 
							
					
				| set_image_url() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| get_image_url() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_nickname() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| set_billing_hash() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| to_datastore_format() | 
									S  | 
																	82 | 
													1 | 
													3 |